#!/bin/bash
mkdir -p Interfaz
mkdir -p cgi-bin
mkdir -p arch-temp-cgi

cp -r -f ./Mapache/Interfaz ./	

cd ./Mapache/Instalacioncliente/
$prefix_client make
cp -f ./cliente ../../Cliente

cd ../InstalacionServidor/
$prefix_client make
cp -f ./servidor ../../Servidor

cd ../../parserPHP/Debug
$prefix_client make
cp -f ./parserPHP ../../cgi-bin/parserPHP.cgi

cd ../../pr/Debug
$prefix_client make
cp -f ./pr ../../cgi-bin/pr.cgi

cd ../../pr-zip/Debug
$prefix_client make
cp -f ./pr-zip ../../cgi-bin/pr-zip.cgi

